<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <div th:replace="header::common"></div>

    <style>
        .center {
            width: 1000px;
            margin: 0 auto;
        }
    </style>
</head>
<body>
    <form class="center" action="/blogType/update" method="post">
        <input type="hidden" name="id" th:value="${blogType.id}"/>
        <div class="form-group">
            <label>博客分类名</label>
            <input type="text" th:value="${blogType.name}" class="form-control" name="name">
        </div>
        <input class="btn btn-primary" type="submit" value="修改">
    </form>
</body>
</html>